package com.luoran.bartalks.service;

import java.util.List;

import com.luoran.bartalks.entity.biz.BtPlanEntry;

public interface IBtPlanEntryService {

	String addPlanEntry(BtPlanEntry planEntry, String planId);

	List<BtPlanEntry> getPlanEntryByPlanId(String planId, String companyId);

	void deletePlanEntryByPlanId(String planId, String companyId);
	
	void updateExceptionInfo(String planEntryId, String planId,String info);
	
	// 根据planid, sign获取PlanEntry
	BtPlanEntry getPlanEntryByPlanIdAndSign(String planId, String companyId, int sign);

	// 根据planid,addressid获取PlanEntry
	BtPlanEntry getPlanEntryByPlanIdAndAddresId(String planId, String addressId, String companyId);

	// 根据id获取PlanEntry
	BtPlanEntry getPlanEntryById(String Id);
	
	// 根据planIdList获取PlanEntrylist
	List<BtPlanEntry> getByPlanIdOfAPP(List<String> Id,String companyId);

}
